import 'package:flutter/material.dart';
class SearchTab extends StatelessWidget{
  const SearchTab({super.key});

  @override
  Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: const Text('搜索'),
          centerTitle: true,
        ),
        body: const Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Icon(Icons.search,size: 100,color: Colors.green),
              SizedBox(height: 20),
              Padding(
                  padding: EdgeInsets.symmetric(horizontal: 40),
                  child: TextField(
                    decoration: InputDecoration(
                      hintText:'输入搜索内容',
                      border: OutlineInputBorder(),
                    ),
                  ),
              ),
            ],
          ),
        ),
      );

  }


}